#include <iostream>
#include "room.h"

using namespace std;

Room::Room(int rID, int rCap, int rOcc, Room* next)
{
	roomID = rID;
	capacity = rCap;
	occupancy = rOcc;

	if(next <= 0)
		nextroom = NULL;
	else
		nextroom = next;
}

int Room::getrCap()
{
	return capacity;
}

int Room::getrID()
{
	return roomID;
}

int Room::getrOcc()
{
	return occupancy;
}

/*Room* Room::getNext()
{
	return nextroom;
}*/